<div class="content">
    <form class="form-horizontal" name="textForm" ng-submit="vm.submitForm(textForm.$valid)" novalidate>
        <div class="ibox">
            <div class="ibox-title">
                <h5>服务发布</h5>
            </div>
            <div class="ibox-content">
                <div class="form-group">
                    <div class="col-sm-5 col-md-3 col-md-offset-3">
                        <label class="checkbox">
                            <input icheck type="checkbox" ng-model="vm.live"> 比赛实时直播服务
                        </label>
                    </div>
                    <div class="col-sm-5 col-md-3">
                        <div class="margin-top-10 margin-left-30" id="qrcode-live" ng-show="vm.live_show"></div>
                        <p class="margin-left-30" ng-show="vm.live_show"><a ng-href="{{vm.liveUrl}}" target="_blank">{{vm.liveUrl}}</a></p>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-5 col-md-3 col-md-offset-3">
                        <label class="checkbox">
                            <input icheck type="checkbox" ng-model="vm.achievementselect"> 手机成绩查询服务
                        </label>
                    </div>
                    <div class="col-sm-5 col-md-3">
                        <div class="margin-top-10 margin-left-30" id="qrcode-achievementselect" ng-show="vm.achievementselect_show"></div>
                        <p class="margin-left-30" ng-show="vm.achievementselect_show"><a ng-href="{{vm.achievementselectUrl}}" target="_blank">{{vm.achievementselectUrl}}</a></p>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-5 col-md-3 col-md-offset-3">
                        <label class="checkbox">
                            <input icheck type="checkbox" ng-model="vm.chipbind"> 选手自助芯片绑定服务
                        </label>
                    </div>
                    <div class="col-sm-5 col-md-3">
                        <div class="margin-top-10 margin-left-30" id="qrcode-chipbind" ng-show="vm.chipbind_show"></div>
                        <p class="margin-left-30" ng-show="vm.chipbind_show"><a ng-href="{{vm.chipbindUrl}}" target="_blank">{{vm.chipbindUrl}}</a></p>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-5 col-md-3 col-md-offset-3">
                        <label class="checkbox">
                            <input icheck type="checkbox" ng-model="vm.runnerinfoselect"> 选手参赛信息查询服务
                        </label>
                    </div>
                    <div class="col-sm-5 col-md-3">
                        <div class="margin-top-10 margin-left-30" id="qrcode-runnerinfoselect" ng-show="vm.runnerinfoselect_show"></div>
                        <p class="margin-left-30" ng-show="vm.runnerinfoselect_show"><a ng-href="{{vm.runnerinfoselectUrl}}" target="_blank">{{vm.runnerinfoselectUrl}}</a></p>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-5 col-md-3 col-md-offset-3">
                        <label class="checkbox">
                            <input icheck type="checkbox" ng-model="vm.certificate"> 电子证书制作
                        </label>
                    </div>
                    <div class="col-sm-5 col-md-3">
                        <button type="button" class="btn btn-sm btn-primary margin-top-10 margin-left-30" ng-show="vm.certificate_show" ui-sref="dashboard.race.certificate"> 电子证书制作</button>
                    </div>
                </div>

                <!-- 报名服务 -->
                <div class="form-group">
                    <div class="col-sm-5 col-md-3 col-md-offset-3">
                        <label class="checkbox">
                            <input icheck type="checkbox" ng-model="vm.register" disabled> 报名服务
                        </label>
                    </div>
                    <div class="col-sm-5 col-md-3">
                        <div class="margin-top-10 margin-left-30" id="qrcode-register" ng-show="vm.register_show"></div>
                        <p class="margin-left-30" ng-show="vm.register_show"><a ng-href="{{vm.registerUrl}}" target="_blank">{{vm.registerUrl}}</a></p>
                    </div>
                </div>

                <!-- 成绩列表 -->
                <div class="form-group">
                    <div class="col-sm-5 col-md-3 col-md-offset-3">
                        <label class="checkbox">
                            <input icheck type="checkbox" ng-model="vm.scorelist" disabled> 成绩列表
                        </label>
                    </div>
                    <div class="col-sm-5 col-md-3">
                        <div class="margin-top-10 margin-left-30" id="qrcode-scorelist" ng-show="vm.scorelist_show"></div>
                        <p class="margin-left-30" ng-show="vm.scorelist_show"><a ng-href="{{vm.scorelistUrl}}" target="_blank">{{vm.scorelistUrl}}</a></p>
                    </div>
                </div>

                <!-- 视频直播 -->
                <div class="form-group">
                    <div class="col-sm-5 col-md-3 col-md-offset-3">
                        <label class="checkbox">
                            <input icheck type="checkbox" ng-model="vm.video_live"> 视频直播
                        </label>
                    </div>
                    <div class="col-sm-5 col-md-3">
                        <div class="margin-top-10 margin-left-30" id="qrcode-video-live" ng-show="vm.video_live_show"></div>
                        <p class="margin-left-30" ng-show="vm.video_live_show"><a ng-href="{{vm.videoLiveUrl}}" target="_blank">{{vm.videoLiveUrl}}</a></p>
                    </div>
                </div>

                <!-- 选手视频 -->
                <div class="form-group">
                    <div class="col-sm-5 col-md-3 col-md-offset-3">
                        <label class="checkbox">
                            <input icheck type="checkbox" ng-model="vm.personal_video"> 选手视频
                        </label>
                    </div>
                    <div class="col-sm-5 col-md-3">
                        <div class="margin-top-10 margin-left-30" id="qrcode-personal-video" ng-show="vm.personal_video_show"></div>
                        <p class="margin-left-30" ng-show="vm.personal_video_show"><a ng-href="{{vm.personalVideoUrl}}" target="_blank">{{vm.personalVideoUrl}}</a></p>
                    </div>
                </div>

                <!-- 比赛相册 -->
                <div class="form-group">
                    <div class="col-sm-5 col-md-3 col-md-offset-3">
                        <label class="checkbox">
                            <input icheck type="checkbox" ng-model="vm.personal_photo"> 比赛相册
                        </label>
                    </div>
                </div>

                <div class="form-group margin-top-20">
                    <div class="col-md-offset-3 col-sm-5 col-md-3">
                        <button type="button" class="btn btn-sm btn-default" ui-sref="dashboard.race.index"><i class="fa fa-times"></i>取消</button>
                        <button type="button" class="btn btn-sm btn-primary" ng-click="vm.save()"><i class="fa fa-save"></i>保存</button>
                    </div>
                </div>
        </div>
    </form>
</div>